package com.yf.exam.modules.user.repo.dto.request;

import com.yf.exam.core.api.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 用户题库请求类
 */
@Data
@ApiModel(value="用户题库请求类", description="用户题库请求类")
public class UserRepoReqDTO extends BaseDTO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "训练模式：0-练习 1-考试", required = true)
    private Integer mode;

    @ApiModelProperty(value = "题库ID", required = true)
    private String repoId;

    @ApiModelProperty(value = "用户ID", required = true)
    private String userId;
    
    @ApiModelProperty(value = "是否清除历史记录", required = false)
    private Boolean clear;
    
    @ApiModelProperty(value = "当前题目ID", required = false)
    private String sequence;
}